package com.xw.service;

import com.github.pagehelper.PageInfo;
import com.xw.entity.User;
import com.xw.rep.LoginRep;
import com.xw.req.LoginReq;
import com.xw.req.PageRequest;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Description: TODO
 * @Date: 2024/12/18 16:52
 * @Version: 1.0
 * @author 86151
 */
public interface UserService {
    // 用户注册


    Boolean register(User user);

    LoginRep login(LoginReq loginReq);

    PageInfo<User> page(PageRequest<User> pageRequest);

    List<User> listAllUsers();



    void importUsers(List<User> userList);
}
